package com.violet.domain.vo.app;

import com.violet.annotation.transition.TImagePrefix;
import com.violet.domain.vo.VO;
import lombok.Data;

import java.util.List;

@Data
public class ACategoryVo implements VO {
    private String name;
    private String description;
    private List<ACategoryProduct> products;

    @Data
    public static class ACategoryProduct implements VO {
        private String id;
        private String name;
        private String description;
        private Double currentPrice;
        private Double originalPrice;
        private Integer monthlySales;
        private String unit;

        @TImagePrefix
        private String image;
    }
}
